Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Provide a strong boost for upper case matches. #9626

Merged
merged 1 commit into from
Oct 22, 2014

Conversation

dangoor
Copy link
Contributor

@dangoor dangoor commented Oct 22, 2014

This change feels more satisfying for #3263.

This simplifies the code by removing the "CaseMatch" and just providing a boost for upper case. function vs. Function because of how the prefix match logic works. I'm not sure if there are cases for the full string match logic where we'd prefer case matching even for lower case, but in my random testing (plus the results of the automated tests), I'm happy with how this works...

This change feels more satisfying for #3263.

Also removes no longer used case match.
@dangoor
Copy link
Contributor Author

dangoor commented Oct 22, 2014

@JeffryBooher let me know what you think...

@JeffryBooher
Copy link
Contributor

@dangoor looks like it covers all the cases. All Tests pass and my random tests pass as well. Merging.

JeffryBooher added a commit that referenced this pull request Oct 22, 2014
Provide a strong boost for upper case matches.
@JeffryBooher JeffryBooher merged commit 103e67d into master Oct 22, 2014
@JeffryBooher JeffryBooher deleted the dangoor/upper-case-match branch October 22, 2014 14:35
@dangoor
Copy link
Contributor Author

dangoor commented Oct 22, 2014

Thanks, Jeff!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants